#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"

SG_DATASTRUCTURE_POST_NAMESPACE_OPEN

struct ELAS1StrainData
{
    SG::DataStructure::Common::Id   m_eId      = 0;    /// Element identification number
    SG::DataStructure::Common::Real m_S        = 0.0;  /// Strain
    SG::DataStructure::Common::Id   m_domainId = 0;    /// Domain identifier
};

///< @brief 判断数据是否相等
DECLSPEC bool operator== (const ELAS1StrainData& val1, const ELAS1StrainData& val2);

///< @brief 排序使用
DECLSPEC bool operator< (const ELAS1StrainData& a, const ELAS1StrainData& b);

SG_DATASTRUCTURE_POST_NAMESPACE_CLOSE
